<html>
<head>
{include file="header.tpl"}
</head>
<body>
<h1>SHONAN BBS 管理画面</h1>
<hr noshade size="1">
<div id="content">
  <div id="contentLeft">
    <h2>コメント編集 確認画面</h2>
    <form action="./comment_edit_result.php"
          method="post"enctype="multipart/form-data">

    <div class="tblData">
    <table>
    <tr>
      <th>ニックネーム</th>
      <td>{$nickname}
      <input type="hidden" name="nickname" value="{$nickname|escape}">
      </td>
    </tr>
    <tr>
      <th>カテゴリ</th>
      <td>{$nickname}
      <input type="hidden" name="nickname" value="{$nickname|escape}">
      </td>
    </tr>
    <tr>
      <th>内容</th>
      <td>{$content}
      <input type="hidden" name="content" value="{$content|escape}">
      </td>
    </tr>
    <tr>
      <th>カテゴリー</th>
      <td>{$categorys[$category_id]}
      <input type="hidden" name="category_id" value="{$category_id}">
      </td>
    </tr>
    <tr>
      <th>URL</th>
      <td>{$url}
      <input type="hidden" name="url" value="{$url|escape}">
      </td>
    </tr>
    <tr>
      <th>画像</th>
      <td>
{if $smarty.session.tmpphoto != ""}
      <img src="{$smarty.session.tmpphoto}" width="100">
{elseif $tempname != ""}
      <img src="../tmp/{$tmpname}" width="100">
{/if}
      </td>
    </tr>
    </table>
    </div>
    <input type="hidden" name="comment_edit_confirm_id"
           value="{$smarty.session.comment_edit_confirm_id}">
    <input type="hidden" name="id" value="{$id}">
    <input value="戻る" type="button"
           onclick="document.location.href='/bbs/admin/comment_edit_input.php?id={$id}';"/>
    <input type="submit" name="submit" value="登録する">
    </form>
  </div>
  <div id="contentRight">
{include file="menu.tpl"}
  </div>
</div>
<div class="clr"></div>
{include file="footer.tpl"}
</body>
</html>